﻿using L.Manage;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace Gfw.Web.Controllers
{
   [LAuthorize(RequireRole = "Admin")]
    public class AccountController : Controller
    {
        /// <summary>
        /// 公司帐户信息，包括公司帐户，admin帐户的结算
        /// </summary>
        /// <returns></returns>
        public ActionResult Index()
        {
            return View();
        }

        public ActionResult LogOff()
        {
            Authentication.Logout();
            // FormsAuthentication.SignOut();

            return RedirectToAction("Index", "Default");
        }
    }
}
